//计算1到10000中所有3的倍数的和
#include <stdio.h>
int main4() {
	int num,sum=0;
    //筛选出所有3的倍数的数
	for (num = 1; num <= 10000; num++) {
		//3ıĺ
		if (num % 3 == 0) {
			sum += num;
		}
	}
	printf("the summary is:%d", sum);
	return 0;
}